package com.circle.rest.modular.qrtz.job;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

import java.time.LocalDateTime;

/**
 * @program: RestfulApi
 * @description: 测试Job
 * @author: 赵航
 * @create: 2019-04-12 17:03
 **/
public class JobTest extends QuartzJobBean {


    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("JobTest定时任务执行" + LocalDateTime.now());
    }
}
